import request from '@/utils/request'

// 查询lakk用户关联列表
export function listUserAssociation(query) {
  return request({
    url: '/lakk/UserAssociation/list',
    method: 'get',
    params: query
  })
}

// 查询lakk用户关联详细
export function getUserAssociation(id) {
  return request({
    url: '/lakk/UserAssociation/' + id,
    method: 'get'
  })
}

// 新增lakk用户关联
export function addUserAssociation(data) {
  return request({
    url: '/lakk/UserAssociation',
    method: 'post',
    data: data
  })
}

// 修改lakk用户关联
export function updateUserAssociation(data) {
  return request({
    url: '/lakk/UserAssociation',
    method: 'put',
    data: data
  })
}

// 删除lakk用户关联
export function delUserAssociation(id) {
  return request({
    url: '/lakk/UserAssociation/' + id,
    method: 'delete'
  })
}
